package com.tzbank.hystrit;

import java.util.Map;

import org.springframework.stereotype.Component;

import com.tzbank.consumer.FingerprintServiceScheduler;
import com.tzbank.utils.ResultCode;
import com.tzbank.utils.ResultUtil;


@Component
public class CommonServiceHystrix implements FingerprintServiceScheduler {

/*	@Override
	public Map<String, Object> intoface(Map<String, Object> map,String name) {
		return ResultUtil.resultMap("ESB调用人脸初始化服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}
	@Override
	public Map<String, Object> queryFace(Map<String, Object> map) {
		return ResultUtil.resultMap("ESB调用认证查询服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}*/

	@Override
	public Map<String, Object> fingerPrintApplyInitialize(Map<String, Object> map) {
		return ResultUtil.resultMap("ESB调用指纹服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}
	@Override
	public Map<String, Object> fingerPrintApply(Map<String, Object> map) {
		return ResultUtil.resultMap("ESB调用指纹服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}
	@Override
	public Map<String, Object> fingerPrintVerify(Map<String, Object> map) {
		return ResultUtil.resultMap("ESB调用指纹服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}

	@Override
	public Map<String, Object> fingerPrintDelete(Map<String, Object> map) {
		return ResultUtil.resultMap("ESB调用指纹删除服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}
/*
	public Map<String, Object> intovoice(Map<String, Object> map) {
		return ResultUtil.resultMap("ESB调用语音服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}*/
	@Override
	public Map<String, Object> fingerPrintVerifyInitialize(Map<String, Object> map) {
		return ResultUtil.resultMap("ESB调用服务错误", ResultCode.RESUTL_CODE_FAILURE.code(), null);
	}




}
